package com.example.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping(value = "/first")
public class FirstController {

    @GetMapping(value = "/first")
    public String first(){
        return "Hello world";
    }

    @GetMapping(value = "/second")
    public String second(){
        return "Hello luo";
    }

    @GetMapping(value = "/third")
    public String third(){
        return "Hello Luo";
    }
}
